Micron Document




Binary Application Markup Language
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
The Binary Application Markup Language is a file format developed by Microsoft that is generated by compiling XAML files.cite-ref-1[1]

Contents


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Generation

An XAML file can be compiled into a Binary Application Markup Language file with the .BAML extension,cite-ref-2[2] which may be inserted as a resource into a .NET Framework assembly. At run-time, the framework engine extracts the .BAML file from assembly resources, parses it, and creates a corresponding WPF visual tree or workflow. Having this format, the content is loadable faster during runtime, because the XAML is enriched by tokens, and lexical analysis is completed.

References

cite-note-11. "WPF Globalization and Localization Overview: Localize a WPF Application". Microsoft MSDN. Retrieved 2011-08-24. The BAML form of XAML so that you can localize at the same time that you develop.
cite-note-22. citerefunknown2009unknown (2009-07-30). "What is BAML?". DOTNET Spider. Retrieved 2011-08-18. BAML means Binary Application Markup Language, which is a compiled version of the XAML. When you compile your XAML, it creates the BAML file.